home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dgeqr2.z / dgeqr2
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGEEEEQQQQRRRR2222((((3333SSSS))))                                                          DDDDGGGGEEEEQQQQRRRR2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGEQR2 - compute a QR factorization of a real m by n matrix A
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE DGEQR2( M, N, A, LDA, TAU, WORK, INFO )
  13.  
  14.          INTEGER        INFO, LDA, M, N
  15.  
  16.          DOUBLE         PRECISION A( LDA, * ), TAU( * ), WORK( * )
  17.  
  18. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  19.      These routines are part of the SCSL Scientific Library and can be loaded
  20.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  21.      directs the linker to use the multi-processor version of the library.
  22.  
  23.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  24.      4 bytes (32 bits). Another version of SCSL is available in which integers
  25.      are 8 bytes (64 bits).  This version allows the user access to larger
  26.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  27.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  28.      only one of the two versions; 4-byte integer and 8-byte integer library
  29.      calls cannot be mixed.
  30.  
  31. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  32.      DGEQR2 computes a QR factorization of a real m by n matrix A: A = Q * R.
  33.  
  34.  
  35. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  36.      M       (input) INTEGER
  37.              The number of rows of the matrix A.  M >= 0.
  38.  
  39.      N       (input) INTEGER
  40.              The number of columns of the matrix A.  N >= 0.
  41.  
  42.      A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
  43.              On entry, the m by n matrix A.  On exit, the elements on and
  44.              above the diagonal of the array contain the min(m,n) by n upper
  45.              trapezoidal matrix R (R is upper triangular if m >= n); the
  46.              elements below the diagonal, with the array TAU, represent the
  47.              orthogonal matrix Q as a product of elementary reflectors (see
  48.              Further Details).  LDA     (input) INTEGER The leading dimension
  49.              of the array A.  LDA >= max(1,M).
  50.  
  51.      TAU     (output) DOUBLE PRECISION array, dimension (min(M,N))
  52.              The scalar factors of the elementary reflectors (see Further
  53.              Details).
  54.  
  55.      WORK    (workspace) DOUBLE PRECISION array, dimension (N)
  56.  
  57.      INFO    (output) INTEGER
  58.              = 0: successful exit
  59.              < 0: if INFO = -i, the i-th argument had an illegal value
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGEEEEQQQQRRRR2222((((3333SSSS))))                                                          DDDDGGGGEEEEQQQQRRRR2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  75.      The matrix Q is represented as a product of elementary reflectors
  76.  
  77.         Q = H(1) H(2) . . . H(k), where k = min(m,n).
  78.  
  79.      Each H(i) has the form
  80.  
  81.         H(i) = I - tau * v * v'
  82.  
  83.      where tau is a real scalar, and v is a real vector with
  84.      v(1:i-1) = 0 and v(i) = 1; v(i+1:m) is stored on exit in A(i+1:m,i), and
  85.      tau in TAU(i).
  86.  
  87.  
  88. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  89.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  90.  
  91.      This man page is available only online.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.